package com.wowudi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "treat_result")
public class TreatResult {
    /**
     * 就诊结果ID
     */
    @TableId(value = "tr_id", type = IdType.AUTO)
    private Integer trId;

    /**
     * 病人ID
     */
    @TableField(value = "pt_id")
    private Integer ptId;

    /**
     * 所属科室ID
     */
    @TableField(value = "dpc_id")
    private Integer dpcId;

    /**
     * 所属医师ID
     */
    @TableField(value = "w_id")
    private Integer wId;

    /**
     * 病人主诉
     */
    @TableField(value = "tr_complaint")
    private String trComplaint;

    /**
     * 体温
     */
    @TableField(value = "tr_temperature")
    private Double trTemperature;

    /**
     * 脉搏
     */
    @TableField(value = "tr_pulse")
    private Integer trPulse;

    /**
     * 血压(70/100)
     */
    @TableField(value = "tr_pressure")
    private String trPressure;

    /**
     * 家属病史
     */
    @TableField(value = "tr_family_history")
    private String trFamilyHistory;

    /**
     * 诊断结果
     */
    @TableField(value = "tr_result")
    private String trResult;

    /**
     * 医生建议
     */
    @TableField(value = "tr_opinion")
    private String trOpinion;

    /**
     * 就诊时间
     */
    @TableField(value = "tr_create_time")
    private Date trCreateTime;
}